//
//  UIColor+Extension.swift
//  microblog
//
//  Created by 记忆不为 on 16/9/30.
//  Copyright © 2016年 记忆不为. All rights reserved.
//

import UIKit

extension UIColor{
    class var random: UIColor {
        get{
            let red = CGFloat(arc4random_uniform(256)) / 255.0
            let green = CGFloat(arc4random_uniform(256)) / 255.0
            let blue = CGFloat(arc4random_uniform(256)) / 255.0
            return UIColor(red: red, green: green, blue: blue, alpha: 1)
        }
    }
    
}
